Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Commit
•
744fcfb
1
Parent(s):
67def15
Ensure test runs on docker defaults
Browse files
.github/workflows/CI_docker.yml
CHANGED
@@ -29,14 +29,12 @@ jobs:
|
|
29 |
shell: bash
|
30 |
strategy:
|
31 |
matrix:
|
32 |
-
julia-version: ['1.8.2']
|
33 |
-
python-version: ['3.10.8']
|
34 |
os: [ubuntu-latest]
|
35 |
arch: ['linux/amd64']
|
36 |
|
37 |
steps:
|
38 |
- uses: actions/checkout@v3
|
39 |
- name: Build docker
|
40 |
-
run: docker build --platform=${{ matrix.arch }} -t pysr
|
41 |
- name: Test docker
|
42 |
-
run: docker run --platform=${{ matrix.arch }} --rm pysr /bin/bash -c 'python3 -m pysr.test main && python3 -m pysr.test cli && python3 -m pysr.test env'
|
|
|
29 |
shell: bash
|
30 |
strategy:
|
31 |
matrix:
|
|
|
|
|
32 |
os: [ubuntu-latest]
|
33 |
arch: ['linux/amd64']
|
34 |
|
35 |
steps:
|
36 |
- uses: actions/checkout@v3
|
37 |
- name: Build docker
|
38 |
+
run: docker build --platform=${{ matrix.arch }} -t pysr .
|
39 |
- name: Test docker
|
40 |
+
run: docker run --platform=${{ matrix.arch }} --rm pysr /bin/bash -c 'python3 -m pysr.test main && python3 -m pysr.test cli && python3 -m pysr.test env'
|