use black to reformat the code #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python Package using Containers | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 5 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Build and run container | |
run: | | |
docker build -t my_container . | |
docker run my_container | |
build-windows: | |
runs-on: windows-latest | |
strategy: | |
max-parallel: 5 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Build and run container | |
run: | | |
docker build -t my_container . | |
docker run my_container |